package com.example.hospitalManage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Description:
 * Param:
 * return:
 * Author: 彭雨胜
 * Data: 2022/12/30
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "医院详情")
@TableName("hospital")
public class Hospital extends BaseEntity {

    @ApiModelProperty(value = "医院名称")
    @TableField("hosname")
    private String hosname;

    @ApiModelProperty(value = "医院编号")
    @TableField("hoscode")
    private String hoscode;

    @ApiModelProperty(value = "医院等级")
    @TableField("hostype")
    private String hostype;

    @ApiModelProperty(value = "省对应编号")
    @TableField("province_code")
    private String provinceCode;

    @ApiModelProperty(value = "图片路径")
    @TableField("logo_data")
    private String logoData;

    @ApiModelProperty(value = "市对应编号")
    @TableField("city_code")
    private String cityCode;

    @ApiModelProperty(value = "区对应编号")
    @TableField("district_code")
    private String districtCode;

    @ApiModelProperty(value = "医院地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "总地址")
    @TableField("full_address")
    private String fullAddress;

    @ApiModelProperty(value = "医院类型字符串")
    @TableField("hostype_string")
    private String hostypeString;

    @ApiModelProperty(value = "医院简介")
    @TableField("intro")
    private String intro;

    @ApiModelProperty(value = "医院路线")
    @TableField("route")
    private String route;

    @ApiModelProperty(value = "状态（0正常，1锁定）")
    @TableField("status")
    private Integer status;

}
